" auto add file header
autocmd BufNewFile *.bat :0r $VIM_PATH/templates/batTmp.txt
autocmd BufNewFile *.bat ks|call FileName()|'s
autocmd BufNewFile *.bat ks|call Version()|'s
autocmd BufNewFile *.bat ks|call CreatedTime()|'s
autocmd FileWritePre,BufWritePre *.bat ks|call ModifyTime()|'s
autocmd BufNewFile *.bat ks|call Author()|'s
autocmd BufNewFile *.bat ks|call Copyright()|'s
autocmd BufNewFile *.bat ks|call Description()|'s
autocmd BufNewFile *.bat normal 10G$vb
autocmd FileWritePre,BufWritePre *.bat 0,10g/Version/norm! $
autocmd FileWritePre,BufWritePre *.bat 0,11g/\#/s/\#/::

" end auto add file header
